import { WeaTools } from 'ecCom';

// 流程统计搜索条件
export const getOdocReportSearchCondition = params => WeaTools.callApi('/api/odoc/odocReport/getOdocReportSearchCondition', 'POST', params);
// 流程统计（三个数字统计）
export const getOdocReportCountData = params => WeaTools.callApi('/api/odoc/odocReport/getOdocReportCountData', 'POST', params);
// 流程图形统计（下方两个）
export const getOdocReportEchartData = params => WeaTools.callApi('/api/odoc/odocReport/getOdocReportEchartData', 'POST', params);

// 流程明细弹出框（三个数字统计、图形统计点击弹出）
export const getOdocReportDetailList = params => WeaTools.callApi('/api/odoc/odocReport/getOdocReportDetailList', 'POST', params);
// 流程明细弹出框搜索条件
export const getOdocReportDetailCondition = params => WeaTools.callApi('/api/odoc/odocReport/getOdocReportDetailCondition', 'POST', params);

// 流程图形统计明细（拟办排名点击更多）
export const getOdocReportEchartDetailList = params => WeaTools.callApi('/api/odoc/odocReport/getOdocReportEchartDetailList', 'POST', params);
// 流程图形统计明细搜索框条件（拟办排名点击更多）
export const getOdocReportEchartDetailListCondition = params => WeaTools.callApi('/api/odoc/odocReport/getOdocReportEchartDetailListCondition', 'POST', params);


export const getOdocDocReportSearchCondition = params => WeaTools.callApi('/api/odoc/odocDocReport/getOdocDocReportSearchCondition', 'POST', params);


export const getOdocDocReportEchartData = params => WeaTools.callApi('/api/odoc/odocDocReport/getOdocDocReportEchartData', 'POST', params);

export const getOdocDocReportDetailList = params => WeaTools.callApi('/api/odoc/odocDocReport/getOdocDocReportDetailList', 'POST', params);

export const getOdocDocReportDetailCondition = params => WeaTools.callApi('/api/odoc/odocDocReport/getOdocDocReportDetailCondition', 'POST', params);

export const getOdocDocReportEchartDetailList = params => WeaTools.callApi('/api/odoc/odocDocReport/getOdocDocReportEchartDetailList', 'POST', params);

export const getOdocDocReportEchartDetailListCondition = params => WeaTools.callApi('/api/odoc/odocDocReport/GetOdocDocEchartDetailCondition', 'POST', params);


/* 自定义报表 */
export const getCustomReportList = params => WeaTools.callApi('/api/odoc/odocReport/list', 'POST', params);

